#!/usr/bin/env python
#coding: utf-8
'''
Created on 2017年2月22日

@author: Administrator
'''
from article.models import Article
from django.contrib import admin

class ArticleAdmin(admin.ModelAdmin):
    list_display = ('id', 'topic', 'user', 'source', 'source_id')
    list_filter = ('state',)
    list_per_page = 50
    raw_id_fields = ('user',)
    search_fields = ('topic',)
admin.site.register(Article, ArticleAdmin)
